<template>
    <div class="box">
        <div class="info">
            <div class="pic">
                <img src="@/assets/img/order_food.png" alt="">
            </div>
            <div class="wrapper">
                <h1>瓶装加多宝</h1>
                <p>瓶装</p>
            </div>
        </div>
        <div class="num">x1</div>
        <div class="price">¥2</div>
    </div>
</template>

<script setup>

</script>

<style scoped lang="scss">
.box {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .info {
        display: flex;
        .pic {
            width: 40px;
            height: 40px;
            border-radius: 3px;

            img {
                width: 100%;
                height: 100%;
            }
        }
        .wrapper{
            margin-left: 8px;
            h1{
                font-size: 15px;
                color:#333;
            }
            p{
                margin-top: 10px;
                font-size: 11px;
                color:#666;
            }
        }
        .num{
            font-size: 14px;
            color:#333;
        }
        .price{
            font-size: 12px;
            color:#333;
        }
    }

}
</style>